Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(front) add switch camera on mobile #280

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

NathanVss
Copy link
Collaborator

@NathanVss NathanVss commented Dec 16, 2024

  • Add switch camera button
  • Remove chevron from toggle switches
Capture d’écran 2024-12-20 à 12 03 53 Capture d’écran 2024-12-20 à 12 03 57

@NathanVss NathanVss force-pushed the feat/responsive-controlbar-buttons branch from 5b4420c to 6804b4a Compare December 18, 2024 16:14
@NathanVss NathanVss changed the title Responsive control bar buttons (front) add switch camera on mobile Dec 18, 2024
@NathanVss NathanVss force-pushed the feat/responsive-controlbar-buttons branch 3 times, most recently from 9594594 to 9c896ba Compare December 20, 2024 11:03
@lebaudantoine
Copy link
Collaborator

I cannot test this button. Will test the functionality on staging.

@lebaudantoine
Copy link
Collaborator

The number of participant feels a bit far away from its icon.

Capture d’écran 2025-01-18 à 22 45 29

@lebaudantoine
Copy link
Collaborator

These margins feel redundant

Capture d’écran 2025-01-18 à 22 46 59

@lebaudantoine
Copy link
Collaborator

Let's try aligning the icon?

Capture d’écran 2025-01-18 à 22 47 56

src/frontend/src/locales/en/rooms.json Outdated Show resolved Hide resolved
@@ -176,6 +177,7 @@ export function MobileControlBar({
>
<RiSettings3Line size={20} />
</Button>
<CameraSwitchButton onPress={() => setIsMenuOpened(false)} />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we find a way to avoid displaying this button if the user is using a desktop device?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This component is shown only on mobile device, it cannot be on desktop

@NathanVss NathanVss force-pushed the feat/responsive-controlbar-buttons branch 2 times, most recently from 4bb0e01 to d4e6232 Compare January 21, 2025 14:16
On mobile we want to be able to hide the chevron and menu.
We want to have a more simple control bar and give the user to switch
its back / front camera from the responsive menu.
@NathanVss NathanVss force-pushed the feat/responsive-controlbar-buttons branch from d4e6232 to b01c3f7 Compare January 21, 2025 14:19
@NathanVss NathanVss merged commit 96c18fc into main Jan 21, 2025
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants